package com.yunxi.vehicle.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 合格证信息
 * </p>
 *
 * @author  caoyong
 * @since 2019-05-22
 */
@Data
@ApiModel(value="VehicleCert对象", description="合格证信息")
public class VehicleCertVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private String vehicleCertId;

    @ApiModelProperty(value = "vin码")
    private String vin;

    @ApiModelProperty(value = "合格证")
    private String certNo;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date certPrintDate;

    @ApiModelProperty(value = "15位码")
    private String vehicleCode;

    @ApiModelProperty(value = "合格证达到日期")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date certArriveDate;

    @ApiModelProperty(value = "备注")
    private String info;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "合格证状态(Vehicle_CertStatus,1合格证随车,2财务审核,3待发运,4已发运)")
    private Integer certStatus;

    @ApiModelProperty(value = "发运日期")
    private Date transportDate;

    @ApiModelProperty(value = "渠道商融资机构关系主键")
    private String relationId;

    @ApiModelProperty(value = "渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "批售订单编号")
    private String orderCarId;

    @ApiModelProperty(value = "付款方式")
    private String payway;

    @ApiModelProperty(value = "融资机构名称")
    private String companyName;

    @ApiModelProperty(value = "发运地址")
    private String certTransportAdd;

    @ApiModelProperty(value = "接收人姓名")
    private String receiverName;

    @ApiModelProperty(value = "接收人电话")
    private String receiverPhone;

}
